﻿<Window x:Class="Southridge.View.DetailsWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:dg="http://schemas.microsoft.com/wpf/2008/toolkit" 
    Title="DetailsWindow" Height="600" Width="600"
    Name="Details">
    <Window.Resources>
        <Style TargetType="{x:Type TextBlock}">
            <Setter Property="FontSize" Value="16"/>
            <Setter Property="Margin" Value="5,5,0,5"/>
        </Style>
    </Window.Resources>
    <Grid Background="#103D7EC5" >
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="30"/>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <DockPanel>
            <Image DockPanel.Dock="Right" Source="\Images\HomePhoto.jpg"/>
            <TextBlock DockPanel.Dock="Top" Text="This is the Title of the listing" FontWeight="Bold" FontSize="30" TextWrapping="Wrap"/>
            <TextBlock DockPanel.Dock="Left" Text="300 110th Ave NE
Bellevue, WA 98004"/>
        </DockPanel>

        <StackPanel Grid.Row="1" Orientation="Horizontal">
            <TextBlock Text="$475,000"/>
            <TextBlock Text="-"/>
            <TextBlock Text="1"/>
            <TextBlock Text="Bedroom"/>
            <TextBlock Text="," Margin="0,5,0,5"/>
            <TextBlock Text="2"/>
            <TextBlock Text="Bath"/>
        </StackPanel>
        <Grid Grid.Row="2">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Label Grid.Row="0" Grid.Column="0" Content="Year Built:" FontSize="16" FontWeight="Bold"/>
            <TextBlock Grid.Row="0" Grid.Column="1" Text="1985"/>
            <Label Grid.Row="1" Grid.Column="0" Content="Square Footage:" FontSize="16" FontWeight="Bold"/>
            <TextBlock Grid.Row="1" Grid.Column="1" Text="1600"/>
            <Label Grid.Row="2" Grid.Column="0" Content="MLS ID:" FontSize="16" FontWeight="Bold"/>
            <TextBlock Grid.Row="2" Grid.Column="1" Text="123456"/>
            <Label Grid.Row="3" Grid.Column="0" Content="Date Listed:" FontSize="16" FontWeight="Bold"/>
            <TextBlock Grid.Row="3" Grid.Column="1" Text="10/15/08"/>
            <Label Grid.Row="4" Grid.Column="0" Content="Date Updated:" FontSize="16" FontWeight="Bold"/>
            <TextBlock Grid.Row="4" Grid.Column="1" Text="10/20/08"/>
            <Label Grid.Row="0" Grid.Column="2" Content="Appointment Date:" FontSize="16" FontWeight="Bold"/>
            <dg:DatePicker Grid.Row="0" Grid.Column="3" Margin="0,5,0,0"/>
            <Border Grid.Row="1" Grid.Column="2" Grid.RowSpan="4" Grid.ColumnSpan="5" Background="LightGray" Margin="5" CornerRadius="5">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition/>
                        <RowDefinition/>
                        <RowDefinition/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <TextBlock Text="Neighborhood Characteristics:" FontWeight="Bold" Grid.ColumnSpan="2"/>
                    <TextBlock Grid.Row="1" Grid.Column="0" Text="High Growth"/>
                    <TextBlock Grid.Row="1" Grid.Column="1" Text="Near Shopping"/>
                    <TextBlock Grid.Row="2" Grid.Column="0" Text="Near Community Center"/>
                    <TextBlock Grid.Row="2" Grid.Column="1" Text="Near Dining"/>
                    <TextBlock Grid.Row="3" Grid.Column="0" Text="Near Family Activities"/>
                </Grid>
            </Border>
        </Grid>
        <StackPanel Grid.Row="3">
            <TextBlock Text="Description" FontWeight="Bold"/>
            <TextBlock Text="This is a long description blah blah blah blah......"/>
        </StackPanel>
    </Grid>
</Window>
